Skip to content

fix: allow primary key to be an empty string - #522

Closed
shuangwu5 wants to merge 2 commits into
mainfrom
lift-pk-constraint
Closed

fix: allow primary key to be an empty string#522
shuangwu5 wants to merge 2 commits into
mainfrom
lift-pk-constraint

Conversation

@shuangwu5

Copy link
Copy Markdown
Collaborator

When using client mode and the primary_key in the generator config is None, it will be replaced by the auto-detected key. But sometimes user may prefer to unset it. This PR lifts the validation constraints and allow user to set primary key to "" to inform server to NOT replace the value.

@shuangwu5 shuangwu5 closed this Jul 11, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant